<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" name="viewport" id="viewport" />
<title>安装应用</title>
<style type="text/css">
body{
	    font-family: NotoSansHans-Regular,AvenirNext-Regular,proxima-nova,"Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei","Open Sans","Helvetica Neue",Arial,sans-serif;
}
	.button {
		margin-top: 20px;
		display: block;
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
}
.center{
   
    text-align: center;  
      position: relative;  

}
.signature {
	padding:4px;
    background-color: #e84d67;
}
.signature-label {
    /* position: relative; */
    margin-top: 6px;
    margin-left: 8px;
    top: -5px;
    color: #fff;
    font-size: 14px;
    border-radius:2px;
}
</style>
</head>
<body style=" background: url(./img/top_bg.png) no-repeat scroll top center;  background-size:100% auto">
	<span></span>
<div align="center">
<img src="./img/logo.png" style="width: 100px;height: 100px;display: block;margin-top: 38%">
</div>
<div id="content" class="center">
<h2 style="color:#333;size:24px;margin-bottom: -5px;">
<span>简约</span>
<span class="label label-danger signature-label signature ">内测版</span>
</h2>
<a class="button" title="iPhone" href="itms-services://?action=download-manifest&url=https://ipa-gold.xyz/manifest.plist" id='install'>点击安装</a>
</div>
<div class="center " style="margin-top: 30px" id='test1'>
	<!-- <span style="font-size: 14px;">简约安装正在内测中，请提供UDID后，</span>	 -->
	<span style="font-size: 14px;">简约安装正在内测中，配置需要<label style="color: red;font-weight: 700">2</label>分钟，请耐心等待再点击安装</span>	
</div>
 <div class="center " id='test2'>
	<span style="font-size: 14px;">如有安装问题，请联系客服</span>
</div> 


<div class="center " style="margin-top: 30px;" id='test3'>
	<span style="font-size: 22px;color: #88b3ff;font-weight: 700;">UDID</span>
</div>

<div class="center">
	<span style="font-size: 12px;" id='udid'></span>
</div>

</body>
<script type="text/javascript">
	var url = window.location.href;
	var udid=url.split('udid=')
	
	if(udid[1])
	{
	//document.getElementById("install").style.display="none";
		document.getElementById("udid").innerHTML=udid[1]
	}
	else
	{
		document.getElementById("install").style.display="inline-block";
		document.getElementById("test1").style.display="none";
		document.getElementById("test2").style.display="none";
		document.getElementById("test3").style.display="none";
	}
	
</script>
</html>
